﻿<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>@ViewBag.Title - 我的 ASP.NET 应用程序</title>
    @Styles.Render("~/Content/css")
    @Scripts.Render("~/bundles/modernizr")
    <style>
        body {
            background-size: 100% 100%;
            margin: 0px;
            padding: 0px;
            background-image: url("../../Images/蓝色可分层.jpg");
            background-repeat: no-repeat;
            background-size:100%;
        }

        .header {
            margin: 0 auto;
        }

            .header .top {
                width: 70%;
                list-style: none;
                color: blue;
                height: 10px;
            }

            .header .top-left {
                position: absolute;
            }

            .header .top li {
                float: right;
                padding: 10px;
            }

        .header2 {
            width: 100%;
            float: right;
        }

            .header2 ul {
                background: #68b0d0;
                color: white;
                opacity: 0.9;
                list-style: none;
                font-size: 16px;
                position: absolute;
                right: 15.7%;
                top: 100px;
                height: 41px;
                line-height: 27px;
            }

            .header2 li {
                padding: 7px;
            }

            .header2 .strong {
                font-weight: bolder;
            }

            .header2 .btnselect {
                color: blue;
                background-image: linear-gradient(#dfe8ee, #b9d9e6);
            }

            .header2 .input {
                height: 41px;
                line-height: 23px;
            }
            .header2 ul li a {
                color: #ffffff;
                padding:0;
            }
            .header ul li a{
                color:#0000ff;
            }
    </style>
</head>
<body>
    @if (Session["UserId"] != null)
    {
        <div class="header">
            <ul class="header top">
                <li class="header top-left">微博</li>
                <li>@Html.ActionLink("账号设置", "UserInfo", "User")</li>
                <li>|</li>
                <li>通知</li>
                <li>私信</li>
                <li>超级管理</li>
            </ul>
        </div>
        <div class="header2">
            <ul class="nav nav-pills">
                <li role="presentation">@Html.ActionLink("首页", "Customer", "Default")</li>
                <li role="presentation">|</li>
                <li role="presentation">
                    @*@foreach (var item4 in ViewBag.Follow)
                    {
                        @Html.ActionLink("我的微博", "Weibo", "WeiBo", new { FUid = item4.U_ID }, null)
                    }*@
                    @Html.ActionLink("我的微博", "Weibo", "WeiBo")
                </li>
                    <li role="presentation">|</li>
                    <li role="presentation">@Html.ActionLink("好友", "Group", "Home")</li>
                    <li role="presentation">|</li>
                    <li role="presentation">模板</li>
                    <li role="presentation" class="input">
                        <input type="text" style="color:black;" placeholder="搜索微博、找人" />
                        <input class="btnselect" style="border:0;" type="button" value="搜索" />
                    </li>
                </ul>
        </div>
    }
    else
    {
       <script type="text/javascript">
           window.location = '/Default/Index';
       </script>
    }
    <div class="body-content">
        @RenderBody()
    </div>
    <br />
    <br />
    <br />
    <br />
    <!-- footer部分 -->
    @*<div id="footer">
            <br />
            <br />
            <hr />

            <div id="footerLink">
                <ul>
                    <li><a href="#" class="a2">微博网介绍</a></li>
                    <li><a href="#" class="a2">广告服务</a></li>
                    <li><a href="#" class="a2">API</a></li>
                    <li><a href="#" class="a2">诚征英才</a></li>
                    <li><a href="#" class="a2">保护隐私权</a></li>
                    <li><a href="#" class="a2">免责条款</a></li>

                    <li><a href="#" class="a2">法律顾问</a></li>
                    <li><a href="#" class="a2">意见反馈</a></li>
                </ul>
            </div>
            <div class="footer" style="position: relative;text-align: center;">
                <footer>
                    <p>&copy; @DateTime.Now.Year - 我的 微博网</p>
                </footer>
            </div>
        </div>*@

    @*@Scripts.Render("~/bundles/jquery")
        @Scripts.Render("~/bundles/bootstrap")
        @RenderSection("scripts", required: false)*@
</body>
</html>
